#import "../fragments/scan_policy_source.fragment.graphql"

query projectScanExecutionPolicies(
  $fullPath: ID!
  $relationship: SecurityPolicyRelationType = INHERITED
) {
  namespace: project(fullPath: $fullPath) {
    id
    scanExecutionPolicies(relationship: $relationship) {
      nodes {
        name
        yaml
        enabled
        source {
          ...SecurityPolicySource
        }
        updatedAt
      }
    }
  }
}
